using ASP;
using HoWave.Common;
using HoWave.Web.Admin;
using System;
using System.Web.Profile;
using System.Web.SessionState;
using System.Web.UI.WebControls;
public class HL_Admin_Help : Admin, IRequiresSessionState
{
	protected Label LatName;
	protected Label LabContent;
	protected DefaultProfile Profile
	{
		get
		{
			return (DefaultProfile)this.Context.Profile;
		}
	}
	protected global_asax ApplicationInstance
	{
		get
		{
			return (global_asax)this.Context.ApplicationInstance;
		}
	}
	protected void Page_Load(object sender, EventArgs e)
	{
		string text = Fetch.Get("key");
		if (!(text == string.Empty))
		{
			text = "root/" + text;
			XmlHelper xmlHelper = new XmlHelper();
			xmlHelper.Load(base.Server.MapPath("~/") + "App_Data\\Help.config");
			this.LatName.Text = xmlHelper.GetNodeKey(text, "title");
			this.LabContent.Text = xmlHelper.GetNodeText(text);
		}
	}
}
